package com.xiaozhichao.javaapi.designpattern.observer.model.java;


import java.util.Observable;

/**
 * 被观察者
 */
public class WechatServer extends Observable {


    public void change(Object input){
        this.setChanged();
        this.notifyObservers(input);
    }
}
